package com.epoque.admin.server.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.epoque.admin.server.model.Element;
import com.epoque.admin.server.util.MyMapper;

/**
 * 
 * @ClassName: ElementMapper
 * @Description: 元素mapper
 * @author qiuxianfeng
 * @date 2018年8月29日
 *
 */
public interface ElementMapper extends MyMapper<Element> {
    public List<Element> selectAuthorityElementByUserId(@Param("userId")String userId);
    public List<Element> selectAuthorityMenuElementByUserId(@Param("userId")String userId,@Param("menuId")String menuId);
    public List<Element> selectAuthorityElementByClientId(@Param("clientId")String clientId);

}